<script setup>
import {ElCol, ElRow, ElSpace} from "element-plus";
import {useRoute} from "vue-router";
</script>

<template>
  <el-row >
    <el-col class="top-bar" :span="24">
      <el-space>
        <router-view name="topBar"/>
      </el-space>
    </el-col>
  </el-row>
  <router-view class="view" name="main" />
</template>

<style scoped>
.view{
  width: 100%;padding: 0 10%;box-sizing: border-box;min-width: 1218px
}
</style>
